package pl.kozulowski.events {
	
	import flash.display.MovieClip;
	import flash.events.Event;
	
	public class EventUtils extends MovieClip {
		
		public function EventUtils(){}
		
		public static function addEventListeners($objects:Array, $event:String, $func:Function):void {
			var i:int=0;
			for(i; i < $objects.length; i++) {
				$objects[i].addEventListener($event, $func);
			}
		}
		
	}
}